﻿<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page session="true" %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=1600, initial-scale=1.0">
    <title>首页</title>
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <link rel="shortcut icon" href="images/favicon.ico">
</head>

<body background="images/background.jpg">
    <div class="nav clearfix">
        <a href="#"><img src="images/logo.png" width="130" height="48"></a>
        <ul>
            <li><a href="#">待定功能一</a></li>
            <li><a href="#">待定功能二</a></li>
            <li><a href="#">待定功能三</a></li>
            <li><a href="#">待定功能四</a></li>
            <li><a href="#">待定功能五</a></li>
        </ul>
        <div class="btn">
            <span id="login">登录</span>
            <span id="register">注册</span>
        </div>
    </div>
    <div class="content">
        <h1>欢迎使用在线问卷调查系统!</h1><br>
        <span><a href="/query/login">免费使用</a></span>
        <span><a href="#">了解更多</a></span>
    </div>
</body>
<script>
    var login = document.getElementById("login");
    login.onclick = function(){
        location.href = "/query/login";
    }
    var register = document.getElementById("register");
    register.onclick = function(){
        location.href = "/query/register";
    }
</script>

</html>